package routers

import (
	"github.com/astaxie/beego"
	"myc/controllers"
)

func init() {
    beego.Router("/", &controllers.MainController{})
    beego.Router("/mao",&controllers.MaoController{})
    beego.AutoRouter(&controllers.MaoCesController{})
    beego.AutoRouter(&controllers.AdminController{})
    beego.Router("/mao/ads",&controllers.MaoController{},"GET:Ads")
}
